/*
 * Copyright 2020-2030 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.gitee.minimalismstyle.fresh.common.core.const

/**
 *  临时数据处理常量
 * @author maoxiaodong
 */
object CacheConst {

    const val CACHE_DEFAULT_EXPIRE = 3600

    /**
     * 路由数据存储
     */
    const val ROUTES_KEY = "routes_key"

    /**
     * 路由数据更新
     */
    const val ROUTES_RELOAD_TOPIC = "routes_reload_topic"

    /**
     * 资源数据更新
     */
    const val RESOURCES_RELOAD_TOPIC = "resources_reload_topic"

    /**
     * 当前用户
     */
    const val USER_INFO_KEY = "user_info_key"

    /**
     * 当前token
     */
    const val USER_TOKEN_KEY = "user_token_key"

    /**
     * 验证码token
     */
    const val CAPTCHA_TOKEN_KEY = "captcha_token"

}